from selenium import webdriver
from selenium.webdriver.common.by import By


class Start:
    def __init__(self):
        self.driver = webdriver.Chrome()
        self.driver.get('https://www.baidu.com')

    def quit(self):
        self.driver.quit()


if __name__ == '__main__':
    run = Start()
    print(run.driver.name)

    run.quit()